API Reference > OdGe Classes > OdGeScale3d Class > OdGeScale3d Operators > [] Operator > OdGeScale3d::[] Operator (unsigned int)
OdGeScale3d::[] Operator (unsigned int)
Syntax
C++
double& operator [](unsigned int i);
Parameters 
Description 
unsigned int i 
[in] Index of component. 

  • if the passed index is 0 - references the X scale factor.
  • if the passed index is 1 - references the Y scale factor.
  • if the passed index is 2 - references the Z scale factor.

References the ith component of the scale vector. 

 

Copyright © 2002–2022. Open Design Alliance. All rights reserved.